{{foreach from=$logs item=list key=key}}
{{$user=$list.user_info}}
<div class="forinr">
  
  <div class="review_ri" style="width:95%">
    <div class="revi_tc"><span class="bluec">{{$user.info.nick_name}}</span> <span>- {{$list.add_time}} </span> 
    <span style="font-size:13px;">
    {{$score=$list.score}}
    {{if $score==3}}<span class="text-success">好评</span>{{else if $score==2}}<span class="text-warning">中评</span>{{else}}<span class="text-danger">差评
</span>{{/if}} 
    <a href="goods.php?id={{$list.id}}">明细</a>
    </span> 
    
    </div>
    <div class="log_content">{{$list.content}}</div>
    <a onclick="$('.reply_{{$key}}').toggle()" class="blue none">回复</a>
    <div class="reply_div reply_{{$key}} "  style="display:none">
      <textarea class="reply" id="reply_{{$key}}" name="reply_{{$list.log_id}}"></textarea>
      <input type="button" class="btn_jq" value="回复"  onclick="replyCatLog('{{$list.log_id}}')">
    </div>
    {{foreach from=$list.reply item=slist key=skey}}
    <div class="rps">
      <div>
        <div class="usertimein pull-left">{{$slist.user_info.info.nick_name}} {{$slist.add_time}}</div>
      </div>
      <div class="rps_content pull-left">{{$slist.content}}</div>
    </div>
    {{/foreach}} </div>
</div>
{{/foreach}}